(function(){

	/*
	 * This is used as a scene for testing transformation.
	 */
	LibreGE.node.TransformTestScene2D = function(){

		var img = new Image();
		img.src = 'jobs.jpg';
		
		var imgNode = new LibreGE.node.Image2D(img, {
			x : -108,
			y : -116,
			alpha : 0.7,
			transforms : [
//			    {transform : [1,0.2,0,1,0,0]},
	 		    {translate : {x : 108, y : 116}},
			    {rotate : 90},
			    {scale : {x : 1.5, y : 1}}
			],
			shadow : {
				offsetX : 0,
				offsetY : 0,
				blur : 0,
				color : '#ff0000',
			}
		});	

		var txtNode = new LibreGE.node.Text2D('Steve Jobs', {
			color : '#ff0000',
			transforms : [
				{translate : {x : 100, y : 100}},
			 	{rotate : 45},
			 	{scale : {x : 1.5, y : 1}}
			]
		});		
		
		var node = new LibreGE.node.Scene2D();
		node.children = [imgNode, txtNode];
		
		return node;
	};
})();
